debian/.gitignore: Unignore files generated by rules control
authorIan Jackson <ian.jackson@citrix.com>
Fri, 24 Aug 2018 17:39:46 +0000 (18:39 +0100)
committerIan Jackson <ian.jackson@citrix.com>
Fri, 24 Aug 2018 17:44:21 +0000 (18:44 +0100)
commit92da6d1ee4f8c686672ebfb68e60ba38d63eb061
treeafefb343a7cb1ef1a78f72aea455b4ae1dc9b91e
parentb31a6bff8f73e6a82f2979ae10f00b7bb4fa3045
debian/.gitignore: Unignore files generated by rules control

We are going to commit to git all the files generated by
  debian/rules debian/control

This makes the git tree have a control file and therefore it is
directly buildable.  (It also avoids gbp pq producing an error message
which invoked by git-debrebase convert-from-gbp, which we are going to
use to convert the branch to git-debrebase format.)

The templating here is overkill.  Eventually, if we are lucky, we will
be able to reduce this to just debian/control.

In particular:

  * Rather than a pile of autogenerated rules in rules.gen,
    we could have suitable pattern rules, or make macros.

  * The files like xen-hypervisor-4.11-amd64.postinst could
    be generated by the rules in a hook.  Then they will
    want to be ignored again.  But they wouldn't hang off
    debian/rules debian/control.

  * The only thing that actually needs some kind of automated
    assistance, and which needs to be in the source package, is the
    binary packaage names, and dependencies, in debian/control.
    We could provide a script to update this in place, maybe, and do
    away with debian/templates/control.*.in entirely.

But for now we want control to be in git so it's easy to find, and so
that our source packages and git trees are identical as dgit requires.

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
debian/.gitignore